
let obj = {
    name:'thomas',
    age:18
}
// console.log(obj.hasOwnProperty('name'))
// console.log('name' in obj)
console.log(obj.hasOwnProperty('toString')) // false
console.log('toString' in obj) // true
